package cn.edu.sgu.www.pms.mapper;

import cn.edu.sgu.www.pms.entity.TableField;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author 沐雨橙风ιε
 * @version 1.0
 */
@Repository
public interface TableFieldMapper extends BaseMapper<TableField> {

    /**
     * 通过表名查询表字段
     * @param tableName 表名
     * @return List<TableField>
     */
    List<TableField> selectByTableName(@Param("tableName") String tableName);
}